package com.dxysun.design.observer;

//import com.google.common.eventbus.Subscribe;

import com.dxysun.design.observer.dxy.Subscribe;

public class RegNotificationObserver {
    private NotificationService notificationService;

    public void setNotificationService(NotificationService notificationService)
    {
        this.notificationService = notificationService;
    }

    @Subscribe
    public void handleRegSuccess(Long userId) {
        notificationService.sendInboxMessage(userId, "...");
    }
}